package org.example.zrccddllljh.Service;

import org.example.zrccddllljh.Pojo.Announcement;

import java.util.List;

public interface AnnouncementService {
    List<Announcement> list();

    void add(Announcement announcement);

    void upadte(Announcement announcement);

    void deleteById(Integer id);
}
